package com.daima;

import java.util.Random;

/**
 * @author: LCG
 * @Date: 2021-11-22 18:22:45
 * @description:
 **/
public class TestRandom {
    public static void main(String[] args) {
        Random random = new Random();
        for (int i=0;i<10000;i++){
            int nextInt = random.nextInt(5);
            if(nextInt==5){
                System.out.println("==*****************************===>"+nextInt);
            }
            System.out.println("=====>"+nextInt);
        }

    }
}
